package com.huike.clues.mapper;

import com.huike.clues.domain.vo.ClueTrackRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClueRecordMapper {
    void insert(ClueTrackRecordVo tbClueTrackRecord);

    @Select("select id, clue_id, level, subject, record, next_time, type, reason, create_by, create_time, update_by, update_time from clue_record where clue_id = #{clueId}")
    List<ClueTrackRecordVo> selectRecord(Long clueId);
}
